<?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

/**
 * Contao Open Source CMS
 * Copyright (C) 2005-2011 Leo Feyer
 *
 * Formerly known as TYPOlight Open Source CMS.
 *
 * This program is free software: you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this program. If not, please visit the Free
 * Software Foundation website at <http://www.gnu.org/licenses/>.
 *
 * PHP version 5
 * @copyright  2012 Andreas Koob 
 * @author     Andreas Koob 
 * @package    piwik_analyser 
 * @license    LGPL 
 * @filesource
 */


/**
 * Class piwik_analyser_module_usersettings
 *
 * @copyright  2012 Andreas Koob 
 * @author     Andreas Koob 
 * @package    Controller
 */
class piwik_analyser_module_usersettings extends frontend
{
	private $functions;
	
	public function __construct()
	{
		$this->import('Database');
		$this->import('Input');
		$this->functions = new piwik_analyser_functions();
	}
	
	public function getFunctions($currentFunction)
	{
		$strFunctions='';
		$strFunctions.='<option value="usersettings.getresolution"';if($currentFunction=='usersettings.getresolution'){$strFunctions.=' selected="selected"';}$strFunctions.='>getResolution (Not implemented)</option>';
		$strFunctions.='<option value="usersettings.getconfiguration"';if($currentFunction=='usersettings.getconfiguration'){$strFunctions.=' selected="selected"';}$strFunctions.='>getConfiguration (Not implemented)</option>';
		$strFunctions.='<option value="usersettings.getos"';if($currentFunction=='usersettings.getos'){$strFunctions.=' selected="selected"';}$strFunctions.='>getOS (Not implemented)</option>';
		$strFunctions.='<option value="usersettings.getbrowser"';if($currentFunction=='usersettings.getbrowser'){$strFunctions.=' selected="selected"';}$strFunctions.='>getBrowser (Not implemented)</option>';
		$strFunctions.='<option value="usersettings.getbrowsertype"';if($currentFunction=='usersettings.getbrowsertype'){$strFunctions.=' selected="selected"';}$strFunctions.='>getBrowserType (Not implemented)</option>';
		$strFunctions.='<option value="usersettings.getwidescreen"';if($currentFunction=='usersettings.getwidescreen'){$strFunctions.=' selected="selected"';}$strFunctions.='>getWideScreen (Not implemented)</option>';
		$strFunctions.='<option value="usersettings.getplugin"';if($currentFunction=='usersettings.getplugin'){$strFunctions.=' selected="selected"';}$strFunctions.='>getPlugin (Not implemented)</option>';
		return $strFunctions;
	}
	
	public function getQueryCode($function)
	{
		switch($function)
		{
			case 'usersettings.getresolution':
				break;
			case 'usersettings.getconfiguration':
				break;
			case 'usersettings.getos':
				break;
			case 'usersettings.getbrowser':
				break;
			case 'usersettings.getbrowsertype':
				break;
			case 'usersettings.getwidescreen':
				break;
			case 'usersettings.getplugin':
				break;
			default:
				break;
		}
	}
	
	public function processFunction($function)
	{
		switch($function)
		{
			case 'usersettings.getresolution':
				break;
			case 'usersettings.getconfiguration':
				break;
			case 'usersettings.getos':
				break;
			case 'usersettings.getbrowser':
				break;
			case 'usersettings.getbrowsertype':
				break;
			case 'usersettings.getwidescreen':
				break;
			case 'usersettings.getplugin':
				break;
			default:
				break;
		}
	}
}

?>